using System;
using System.Collections.Generic;
using System.Text;

namespace CoastToCoast.Game {
    public abstract class LandUnit : Unit {
        public override bool CanMove(Cell destination) {
            if (CurrentMoves >= BaseMovementRate)
                return false;

            if (destination.Terrain is LandTile) {
                // REVIEW: Deal with stacking
                return destination.Unit == null;
            }
            else {
                return false;
            }
        }
    }
}
